package com.wicket.okrapp.biz.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc TimerTaskPlanDto
     * @使用场景
     */
    @Data
    public class TimerTaskPlanDto extends BaseDto  implements Serializable {
      
    /**
     * 归属对象内容ID 
     */
    @ApiModelProperty("归属对象内容ID")
    private String	 objectId;

    /**
     * 归属对象内容标识 
     */
    @ApiModelProperty("归属对象内容标识")
    private String	 belongToContentCode;
/**
     * 生成规则信息辅表主键ID 
     */
    @ApiModelProperty("生成规则信息辅表主键ID")
    private String	 addRuleInfoId;
/**
     * 定时任务调度记录ID 
     */
    @ApiModelProperty("定时任务调度记录ID")
    private String	 timingTaskDispatchId;

    /**
     * 定时任务调度名称 
     */
    @ApiModelProperty("定时任务调度名称")
    private String	 timingTaskDispatchName;

    /**
     * 归属对象类型编码 OMS_EVALUATION_OBJECT_TARGET_CYCLE:被评对象目标周期 OMS_TARGET_OBJECTIVE:指标表 OMS_TARGET_CATEGORY:目标分类表 OMS_EVALUATION_TEMPLATE:评价模板 UNION_APP:联盟应用 OMS_TARGET:目标表 OMS_TASK:任务表 OMS_ORG_ORGANIZATION:组织表 OMS_VIRTUAL_ORG_MEMBER:虚拟组织成员表
     */
    @ApiModelProperty("归属对象类型编码")
    private String	 objectTypeCode;

    /**
     * 是否执行完成 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否执行完成")
    private String	 isComplete;

    /**
     * 创建人就职记录ID 
     */
    @ApiModelProperty("创建人就职记录ID")
    private String	 createInductionId;

    /**
     * 创建时间 
     */
    @ApiModelProperty("创建时间")
    private Date	 createTime;

    /**
     * 创建于空间ID 
     */
    @ApiModelProperty("创建于空间ID")
    private String	 spaceId;
/**
     * 是否常规任务调度 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否常规任务调度")
    private String	 isRoutineDispatchAction;
/**
     * 自动安排时间 
     */
    @ApiModelProperty("自动安排时间")
    private String	 autoPlanTime;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      TimerTaskPlanDto that = (TimerTaskPlanDto) o;
      return  objectId == that.objectId&&belongToContentCode == that.belongToContentCode&&addRuleInfoId == that.addRuleInfoId&&timingTaskDispatchId == that.timingTaskDispatchId&&timingTaskDispatchName == that.timingTaskDispatchName&&objectTypeCode == that.objectTypeCode&&isComplete == that.isComplete&&createInductionId == that.createInductionId&&createTime == that.createTime&&spaceId == that.spaceId&&isRoutineDispatchAction == that.isRoutineDispatchAction&&autoPlanTime == that.autoPlanTime;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), objectId,belongToContentCode,addRuleInfoId,timingTaskDispatchId,timingTaskDispatchName,objectTypeCode,isComplete,createInductionId,createTime,spaceId,isRoutineDispatchAction,autoPlanTime);
    }
    
      

    }
   